package domain.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Bowen on 2014/8/8.
 */
public class BaseEntity implements Serializable {

    private Long id;
    //创建日期
    private Date createDate;
    //创建人
    private Long createUser;
    //最后更新日期
    private Date modifyDate;
    //最后修改人
    private Long modifyUser;
    //版本
    private int version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(Long modifyUser) {
        this.modifyUser = modifyUser;
    }

}
